package com.yj.lottery_system.service;

public interface IVerificationCodeService {
    /**
     * 发送验证码
     * @param mail
     */
    void sendVerificationCode(String mail);

    /**
     * 从缓存中获取验证码
     * @param mail
     * @return
     */
    String getVerificationCode(String mail);
}
